package com.serv.common.base;

import java.util.Map.Entry;

import com.jfinal.plugin.activerecord.Model;

@SuppressWarnings({"rawtypes", "serial"})
public class BaseModel<M extends Model> extends Model<M> {
	public boolean isEmpty() {
        for (Entry<String, Object> entry : _getAttrsEntrySet()) {
            if (entry.getValue() != null) return false;
        }
        return true;
    }
}
